projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982af7f
)
Fix compilation warning in qp.el
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 12 Jun 2019 23:43:58 +0000
(
01:43
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 12 Jun 2019 23:43:58 +0000
(
01:43
+0200)
* lisp/mail/qp.el (quoted-printable-encode-region): No need to
convert the regexp to multibyte before searching.
lisp/mail/qp.el
patch
|
blob
|
history
diff --git
a/lisp/mail/qp.el
b/lisp/mail/qp.el
index 5b49741188622fc70cdedf25d2862beff2dc7c81..803d78602e55b5cdf4401627914e84f5b0e38ad2 100644
(file)
--- a/
lisp/mail/qp.el
+++ b/
lisp/mail/qp.el
@@
-115,8
+115,7
@@
encode lines starting with \"From\"."
(setq class "\010-\012\014\040-\074\076-\177"))
(save-excursion
(goto-char from)
- (if (re-search-forward (string-to-multibyte "[^\x0-\x7f\x80-\xff]")
- to t)
+ (if (re-search-forward "[^\x0-\x7f\x80-\xff]" to t)
(error "Multibyte character in QP encoding region"))
(save-restriction
(narrow-to-region from to)